function y = hager(x)
%Hager Function
%x0=[1,1,...,1] 
%fmin=n/2
%Author:shi yangyang
n=length(x);
y=ones(1,n);
for i=1:1:n
    y(i)=exp(x(i))-(i^0.5)*x(i);
end
y=sum(y);